﻿using System;
using System.Runtime.Serialization;

namespace Phatent.Model.Functions
{
    [DataContract]
    public class EmployeeModel : MBase
    {
        [DataMember]
        [Model(ConvertType = AttributeType.IgnoreUpdate)]
        public System.Guid Guid { get; set; }
        [DataMember]
        [Model]
        public string EmployeeName { get; set; }
        [DataMember]
        [Model]
        public string Post { get; set; }
        [DataMember]
        [Model]
        public string RealName { get; set; }
        [DataMember]
        [Model]
        public string UnitName { get; set; }
        [DataMember]
        [Model]
        public string Mobile { get; set; }
        [DataMember]
        [Model]
        public string Email { get; set; }
        [DataMember]
        [Model(ConvertType = AttributeType.IgnoreUpdate)]
        public System.DateTime CreatedOn { get; set; }
        [DataMember]
        [Model]
        public byte Status { get; set; }
    }

    [DataContract]
    public class EmployeeCollection : ModelCollectionBase<EmployeeModel> { }
}
